package com.atguigu.stack;

import org.junit.Test;

public class LinkedListStackTest {

    @Test
    public void testLinkedListStack(){
        LinkedListStack<Integer> listStack = new LinkedListStack<>();
        for (int i = 0; i < 10; i++) {
            listStack.push(i+10);
        }
        System.out.println(listStack);
        System.out.println(listStack.pop());
        System.out.println(listStack);
    }
}
